package com.qingjiang.projectschedule.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName project_information
 */
@TableName(value = "project_information")
@Data
public class ProjectInformation implements Serializable {
    @TableId
    private String projectId;

    private String projectName;

    private String projectDepartment;

    private String manager;

    private Integer currentNodeid;

    private String projectContent;

    private Integer isCancel;

    private Integer isCheck;

    private Integer isLock;

    private Integer isFinished;

    private Integer deptId;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date addTime;

    private Integer yellowCard;

    private Integer redCard;

    private String cancelReason;

    private static final long serialVersionUID = 1L;
}